<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('admin/default/welcome')}">开始</a> / <a href="{url('index/index')}">应用管理</a></div>
<div class="m10">
<div class="table-head fn-clear">
    <div class="fn-l"><a href="{url('index/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 列表</a><strong>应用管理</strong></div>
    <div class="fn-r"><a href="{url('index/edit')}" class="button button-blue link" title="添加应用"><i class="iconfont">&#xf055;</i> 添加应用</a></div>
</div>
<table class="table">
<thead><tr><th class="fn-tac w80">应用ID</th><th class="fn-tac w200">应用名称</th><th>更新内容</th><th class="fn-tac w100">下载包名称</th><th class="w80 fn-tac">当前版本</th><th class="w120 fn-tac">发布时间</th><th class="w100 fn-tac">管理操作</th></tr></thead>
<tbody>
{loop $list $vo}
    <tr>
      <td class="fn-tac">{$vo['app']}</td>
      <td class="fn-tac">{$vo['appname']}</td>
      <td>{$vo['info']}</td>
      <td class="fn-tac">{$vo['down']}</td>
      <td class="fn-tac">{$vo['var']}</td>
      <td class="fn-tac">{if $vo['uptime']}{date('Y-m-d H:i:s',$vo['uptime'])}{/if}</td>
      <td class="fn-tac tip">
        <a title="编辑" href="{url('index/edit',array(id=>$vo['id']))}">编辑</a> / 
        <a href="###" title="删除" class="del" url="{url('index/index',array(id=>$vo['id'],act=>del))}">删除</a>  
    </td>
    </tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
  $('.del').click(function(){$(this).del();});
})
</script>